package com.xmg.p2p.base.service;

import com.xmg.p2p.base.domain.Userinfo;

public interface IUserinfoService {
    void update(Userinfo userinfo);

    void add(Userinfo ui);

    Userinfo get(Long id);

    void bindPhone(String phoneNumber, String verifyCode);

    void sendEmail(String email);

    Userinfo getCurrent();

    void bindEmail(String key);

    void updateBasicInfo(Userinfo info);
}
